package com.tee.live.im.router.provider.rpc;

import com.tee.im.router.interfaces.rpc.ImRouterRpc;
import com.tee.live.im.router.provider.service.ImRouterService;
import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author tee
 * @date 2025/11/4
 */
@DubboService
public class ImRouterRpcImpl implements ImRouterRpc {


    @Resource
    private ImRouterService imRouterService;

    @Override
    public void sendMsg(Long userId, String msgJson) {
        imRouterService.sendMsg(userId,msgJson);
    }
}
